package com.yst.feign2.ex;

import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public class MyException extends RuntimeException {
    @NonNull
    private String name;
    @NonNull
    private Integer age;
}
